/* rqconst.i  - REQUISITION SYSTEM GLOBAL CONSTANTS                           */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.7 $                                                         */
/*V8:ConvertMode=NoConvert                                                    */
/* Revision: 8.6    LAST MODIFIED BY: 05/05/97  By: B. Gates          *J1Q2*  */

/* REVISION: 8.6E     LAST MODIFIED: 02/23/98   BY: *L007* A. Rahane          */
/* REVISION: 8.6E     LAST MODIFIED: 10/04/98   BY: *J314* Alfred Tan         */
/* REVISION: 8.6E     LAST MODIFIED: 09/09/99   BY: *J39R* Reetu Kapoor       */
/* REVISION: 9.1      LAST MODIFIED: 08/12/00   BY: *N0KP* myb                */
/* $Revision: 1.7 $    BY: Katie Hilbert  DATE: 04/01/01 ECO: *P008*   */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

/*ACTIONS*/

/* ********** Begin Translatable Strings Definitions ********* */

&SCOPED-DEFINE rqconst_i_1 "Comments"
/* MaxLen: Comment: */

/* ********** End Translatable Strings Definitions ********* */

define variable ACTION_APPROVE         as character no-undo initial '1'.
define variable ACTION_DENY            as character no-undo initial '2'.
define variable ACTION_REVERSE         as character no-undo initial '3'.
define variable ACTION_ROUTE_ONLY      as character no-undo initial '4'.
define variable ACTION_CREATE_REQ      as character no-undo initial '5'.
define variable ACTION_CREATE_REQ_LINE as character no-undo initial '6'.
define variable ACTION_MODIFY_REQ      as character no-undo initial '7'.
define variable ACTION_MODIFY_REQ_LINE as character no-undo initial '8'.
define variable ACTION_DELETE_REQ      as character no-undo initial '9'.
define variable ACTION_DELETE_REQ_LINE as character no-undo initial '10'.
define variable ACTION_MARK_OOT        as character no-undo initial '11'.
define variable ACTION_RESET_OOT       as character no-undo initial '12'.
define variable ACTION_ROUTE           as character no-undo initial '21'.
define variable ACTION_ROUTE_REVERSE   as character no-undo initial '22'.
define variable ACTION_CREATE_PO       as character no-undo initial '31'.
define variable ACTION_CREATE_PO_LINE  as character no-undo initial '32'.

/*EMAIL OPTIONS*/

define variable EMAIL_OPT_NO_EMAIL     as character no-undo initial '1'.
define variable EMAIL_OPT_REGULAR      as character no-undo initial '2'.
define variable EMAIL_OPT_EXTENDED     as character no-undo initial '3'.

/*REQUISITION LINE STATUS*/

define variable LINE_STATUS_OPEN       as character no-undo initial ''.
define variable LINE_STATUS_CANCELLED  as character no-undo initial 'X'.
define variable LINE_STATUS_CLOSED     as character no-undo initial 'C'.

/*REQUISITION APPROVAL STATUS*/

define variable APPROVAL_STATUS_UNAPPROVED as character no-undo initial '1'.
define variable APPROVAL_STATUS_APPROVED   as character no-undo initial '2'.
define variable APPROVAL_STATUS_OOT        as character no-undo initial '3'.

/*OUT OF TOLERANCE ROUTING*/

define variable OOT_RTG_NONE           as character no-undo initial '0'.
define variable OOT_RTG_REQUESTER      as character no-undo initial '1'.
define variable OOT_RTG_FIRST_APPROVER as character no-undo initial '2'.
define variable OOT_RTG_LAST_APPROVER  as character no-undo initial '3'.

/*ROLES*/

define variable ROLE_REQUESTER          as character no-undo initial '1'.
define variable ROLE_END_USER           as character no-undo initial '2'.
define variable ROLE_APPROVER           as character no-undo initial '3'.
define variable ROLE_ALTERNATE_APPROVER as character no-undo initial '4'.
define variable ROLE_ADMIN_APPROVER     as character no-undo initial '5'.
define variable ROLE_REVIEWER           as character no-undo initial '6'.
define variable ROLE_ENTERER            as character no-undo initial '7'.
define variable ROLE_BUYER              as character no-undo initial '8'.

/*APPROVER TYPES*/

define variable horizontal            like rqa_type no-undo initial 1.
define variable vertical              like rqa_type no-undo initial 2.
define variable JOB                   like rqa_type no-undo initial 3.
define variable DIRECT                like rqa_type no-undo initial 4.
define variable ADDITIONAL            like rqa_type no-undo initial 5.
define variable REQUESTER_APR         like rqa_type no-undo initial 6.

/*BUYERS*/

define variable BUYER           like rqr_role no-undo initial "buyer".

/*DATA ENTRY VARIABLES*/

define variable status_entry        like rqd_status.
define variable email_opt_entry     like rqf_email_opt.
define variable oot_rtg_entry       like rqf_oot_rtg.
define variable action_entry        like rqh_action.
define variable role_entry          like rqh_role.
define variable approval_stat_entry like rqm_aprv_stat.

define variable status_desc         like rqd_status    format "x(16)".
define variable email_opt_desc      like rqf_email_opt format "x(16)".
define variable oot_rtg_desc        like rqf_oot_rtg   format "x(16)".
define variable action_desc         like rqh_action    format "x(16)".
define variable role_desc           like rqh_role      format "x(16)".
define variable approval_stat_desc  like rqm_aprv_stat.

/*LABEL CONSTANTS*/

define variable COMMENTS like rqf_hcmmts label {&rqconst_i_1}.
